package com.mes.check.service;


import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.data.provider.Page;
import com.mes.check.dao.iface.IRejectDao;
import com.mes.check.domain.Reject;
import com.mes.common.service.BasicService;
import com.mes.common.util.CodeUtil;

@Service
public class RejectService extends BasicService<Reject> {

	@Autowired
	CodeUtil codeUtil;
	
	@Autowired
	IRejectDao rejectDao;
	
	/**
	 * 根据多个条件查询废品单，图号、批次、废品单号、有效性、废品单状态
	 * @param page
	 * @param params
	 * @throws Exception
	 */
	@DataProvider
	public void getDefectJudgesByConditions(Page<Reject> page, Map<String, Object> params) throws Exception {
		codeUtil.testCode();
		//rejectDao.getRejectBillsByConditions(page, params);
		
	}
	
}
